package fr.umlv.ig.metroView.confView;

import java.awt.Dimension;

import javax.swing.JScrollPane;
import javax.swing.JTabbedPane;

import fr.umlv.ig.model.MetroModelImpl;

public class TabbedTrainConfView {
	
	public static JTabbedPane getTabbedTrainPanel(MetroModelImpl model) {
		JTabbedPane tabbedPane = new JTabbedPane();
	
		JScrollPane treeTrainPane = TreeTrainConfView.getTreeTrainPanel(model);
		treeTrainPane.setPreferredSize(new Dimension(250,350));
		treeTrainPane.setMinimumSize(new Dimension(250,350));
		tabbedPane.add("Tree",treeTrainPane);

		return tabbedPane;
	}
	


}
